package main

import (
	"fmt"
	"math"
)

func maximum(numbers ...float64) float64 {
	max := math.Inf(-1)
	for _, v := range numbers {
		if v > max {
			max = v
		}
	}
	return max
}

func main() {
	fmt.Println(maximum(1, 2, 44, 5, 66, 77, 888))
	fmt.Println(maximum(1, 22212, 44, 5, 166, 1177, 8881))
}
